import request from '@/utils/request'

// 查询通道们入库记录列表
export function listRkinfo(query) {
  return request({
    url: '/system/rkinfo/list',
    method: 'get',
    params: query
  })
}

// 查询通道们入库记录详细
export function getRkinfo(id) {
  return request({
    url: '/system/rkinfo/' + id,
    method: 'get'
  })
}

// 新增通道们入库记录
export function addRkinfo(data) {
  return request({
    url: '/system/rkinfo',
    method: 'post',
    data: data
  })
}

// 修改通道们入库记录
export function updateRkinfo(data) {
  return request({
    url: '/system/rkinfo',
    method: 'put',
    data: data
  })
}

// 删除通道们入库记录
export function delRkinfo(id) {
  return request({
    url: '/system/rkinfo/' + id,
    method: 'delete'
  })
}
